@import 'transition/index.less';
@import 'var/index.less';
@import 'public.less';
@import 'ant/index.less';
@import './theme.less';
@import './entry.css';

input:-webkit-autofill {
  -webkit-box-shadow: 0 0 0 1000px white inset !important;
}

:-webkit-autofill {
  transition: background-color 5000s ease-in-out 0s !important;
}

html {
  overflow: hidden;
  -webkit-text-size-adjust: 100%;
}

html,
body {
  width: 100%;
  height: 100%;
  // body添加行高保持跟3.x一致
  line-height: 1.5715;
  
  &.color-weak {
    filter: invert(80%);
  }

  &.gray-mode {
    filter: grayscale(100%);
    filter: progid:dximagetransform.microsoft.basicimage(grayscale=1);
  }
}

/* 【LOWCOD-2300】【vue3】online--online表单开发，下拉框位置靠下时，点开下拉框，整屏跳 */
body {
  overflow: visible;
  overflow-x: hidden;
}

a:focus,
a:active,
button,
div,
svg,
span {
  outline: none !important;
}

// 保持 和 windi 一样的全局样式，减少升级带来的影响
ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
img, video {
  max-width: 100%;
  height: auto;
}
// 保持 和 windi 一样的全局样式，减少升级带来的影响

// update-begin--author:liaozhiyang---date:20230925---for：【issues/5407】字段信息校验是多行提示会被遮挡
.vxe-cell--valid-msg {
  white-space: nowrap;
}
// update-end--author:liaozhiyang---date:20230925---for：【issues/5407】字段信息校验是多行提示会被遮挡

// update-begin--author:liaozhiyang---date:20231013---for：【QQYUN-5133】升级之后提示样式跟之前一致
.vxe-table--render-default.vaild-msg--single .vxe-body--row:last-child .vxe-cell--valid {
  top: auto;
}
.vxe-cell--valid {
  top: 100%;
}
.vxe-cell--valid-msg {
  display: inline-block;
  border-radius: 4px !important;
  padding: 8px 12px !important;
  color: #fff !important;
  background-color: #f56c6c !important;
  
}
// update-end--author:liaozhiyang---date:20231013---for：【QQYUN-5133】升级之后提示样式跟之前一致
// update-begin--author:liaozhiyang---date:20231116---for：【QQYUN-7011】online表单多了一个蓝色的边框
// .vxe-table.vxe-table--render-default .vxe-body--column.col--selected {
//   box-shadow: none;
// }
// update-end--author:liaozhiyang---date:20231116---for：【QQYUN-7011】online表单多了一个蓝色的边框


.allStyle{
  .jeecg-multiple-tabs.jeecg-multiple-tabs--theme-card .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active .ant-tabs-tab-btn{
    color:#E90D00 !important;
  }
  .jeecg-multiple-tabs.jeecg-multiple-tabs--theme-card .ant-tabs.ant-tabs-card .ant-tabs-nav .ant-tabs-tab-active{
    color:#E90D00 !important;
    border-bottom:1px solid #E90D00 !important;
  }
  .jeecg-menu-dark.jeecg-menu-vertical .jeecg-menu-item-active:not(.jeecg-menu-submenu),
  .jeecg-menu-dark.jeecg-menu-vertical .jeecg-menu-submenu-title-active:not(.jeecg-menu-submenu),
  .ant-btn-primary,

  .ant-table-pagination.ant-pagination .ant-pagination-item-active,
  .ant-table-pagination.ant-pagination .ant-pagination-item-active:hover{
    background:#E90D00 !important;
  }
  .ant-alert-info .ant-alert-icon,
  .ant-btn-link{
    color:#E90D00 !important;
  }
  .ant-alert-info{
    background: #fae9e7 !important;
    border:1px solid #f3b5b1 !important;
  }
  .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover,
  .ant-picker:hover, :where(.css-udyjmm).ant-picker-focused,
  .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector{
    border:1px solid #f3b5b1 !important;
  }
}
.ant-modal-root {
  .ant-btn-primary{
    background:#E90D00 !important;
  }
  .ant-input-affix-wrapper:not(.ant-input-affix-wrapper-disabled):hover,
  .ant-picker:hover, :where(.css-udyjmm).ant-picker-focused,
  .ant-select:not(.ant-select-disabled):not(.ant-select-customize-input):not(.ant-pagination-size-changer):hover .ant-select-selector{
    border:1px solid #fa958f !important;
  }
}
